"""
图书信息类
"""


class BookInfo:

    def __init__(self, book: str, author: str, price: float):
        self.book = book
        self.author = author
        self.price = price

    def __str__(self):
        return f"book:{self.book},author:{self.author},price:{self.price}"
